﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Users.Form
{
    public class RegisterFrom
    {
        /// <summary>
        /// 手机号
        /// </summary>
        [Required]
        public string PhoneNumber { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        [Required]
        public string Password { get; set; }
        ///// <summary>
        ///// 年龄段
        ///// </summary>
        //[Required]
        //public string Age { get; set; }
        ///// <summary>
        ///// 注册费用
        ///// </summary>
        //public decimal Amount { get; set; }
        /// <summary>
        /// 上级用户ID
        /// </summary>
        public int? SourceUserId;
        /// <summary>
        /// openId
        /// </summary>
        public string OpenId { get; set; }
        /// <summary>
        /// 短信验证码
        /// </summary>
        public string SmsCode { get; set; }
    }
}
